Core::BaseTextDocument Class

class Core::BaseTextDocument

The BaseTextDocument class is a very general base class for documents that work with text. More...

Header: #include <coreplugin/textdocument.h>
Inherits: Core::IDocument

Public Functions

Utils::TextFileFormat format() const

Detailed Description

This class contains helper methods for saving and reading text files with encoding and line ending settings.

See also Utils::TextFileFormat.

Member Function Documentation

Utils::TextFileFormat BaseTextDocument::format() const

Returns the format obtained from the last call to read().